package com.example.crm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.crm.entity.CustomerTag;

import java.util.List;

/**
 * 客户标签服务接口
 */
public interface CustomerTagService extends IService<CustomerTag> {
    
    /**
     * 获取所有标签
     */
    List<CustomerTag> listAllTags();
    
    /**
     * 获取客户的标签
     */
    List<CustomerTag> getTagsByCustomerId(Long customerId);
    
    /**
     * 为客户设置标签
     */
    boolean setCustomerTags(Long customerId, List<Long> tagIds);
} 